 <?php 
$templateURL = $this->basePath('public/template');
?>
 <div class="container">
          <a href="index.html" id="logo">
              <img src="<?php echo $templateURL ?>/backend/img/logo.png" />
          </a>
          <div class="clearfix">
              <div id="header1"><a href="#"><i class="fa fa-bars"></i></a></div>
              <div id="header2">
                  <ul>
                       <li id="phanhoi"><a href=""><i class="fa fa-envelope-o"></i><span class="count">8</span></a></li>
                        <li id="config"><a href="<?php echo $this->url('system/sub',array('action' => 'minifyfile')); ?>"><i class="fa fa-cog"></i></a></li>
                        <li id="profile">
                                <div class="btn-group">
								  <button type="button" class="btn btn-default dropdown-toggle profilesub1" data-toggle="dropdown">
								    <img alt="avatar" src="<?php echo $templateURL ?>/backend/img/avatar.png">
								    <span class="hidden-xs">
								      <?php 
										 $users=$this->user_helper();
										 foreach ($users as $item){
										 	echo "<span class='username'>" . $item['NAME'] . "</span>";
										 }
										?>
								    </span><span class="caret"></span>
								  </button>
								  <ul class="dropdown-menu dropdown12" role="menu">
								    <li><a href="#"><i class="fa fa-user"></i>Profile</a></li>
								    <li><a href="#" id="deletecaches"><i class="fa fa-trash-o"></i>Xóa Cache</a></li>
								    <li><a href="#" id="deletetimthumb"><i class="fa fa-trash-o"></i>Xóa Timthumb</a></li>
								    <li><a href="<?php echo $this->url('system/sub',array('action' => 'logout')); ?>"><i class="fa fa-power-off"></i>Logout</a></li>
								  </ul>
								</div>
                          </li>
                        <li id="logout"><a href="<?php echo $this->url('system/sub',array('action' => 'logout')); ?>"><i class="fa fa-power-off"></i></a></li>
                        <li id="menu1">
                            <span class="navbar-header">
								<button class="navbar-toggle collapsed" data-target=".navbar-ex1-collapse" data-toggle="collapse" type="button">
								<i class="fa fa-reorder"></i>
								</button>
							</span>
                        </li>
                        
                  </ul>
              </div>
          </div>
     </div>
     <div class="timeout"></div>